package com.xz.stu.server.vo.calenderEvent;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
@Data
@AllArgsConstructor

public class CalendarEventListPageReqVO extends PageParam {
    @Schema(description = "学期编码", example = "2024-1")
    private String termCode;

    @Schema(description = "标题", example = "标题")
    private String title;

    @Schema(description = "事件类型", example = "1")
    private String eventType;

    @Schema(description = "开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private String startDate;

    @Schema(description = "结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private String endDate;

    @Schema(description = "排序字段")
    private Boolean isAsc;
}
